Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Adapt URLs generated in the backend to new routes #6649

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jan 8, 2025

This fixes an issue reported by @peterwebdesign that links in activity emails or the activity stream may not work as they were always generated with index.php and the vue router redirect did not work properly with legacy hash based urls.

Besides fixing the hash detection to redirect from #/board/123 to /board/123 this also adapt all cases where old URLs were still generated.

@luka-nextcloud
Copy link
Contributor

@juliusknorr Code change looks ok but could you check cypress and unit tests?

@juliusknorr juliusknorr force-pushed the fix/redirect-no-rewrite branch 2 times, most recently from c3e9bde to 67315aa Compare January 17, 2025 10:15
@juliusknorr juliusknorr force-pushed the fix/redirect-no-rewrite branch from 67315aa to 1177d08 Compare January 17, 2025 10:19
@juliusknorr
Copy link
Member Author

Cypress catched a bug that resulted in an endless recursion, fixed with my last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants